package com.cloud.lan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.lan.api.dto.req.LanActivityReq;
import com.cloud.lan.entity.base.BaseResponse;
import com.cloud.lan.entity.model.dataobject.LanActivityDO;

/**
 * <p>
 * 兑换码活动信息表 服务类
 * </p>
 *
 * @author xyqierkang@163.com
 * @since 2021-12-23
 */
public interface ILanActivityService extends IService<LanActivityDO> {

    /**
     * 查询 轮播图片列表
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2021/12/23 20:17
     */
    BaseResponse<Object> manageList(LanActivityReq req);

    /**
     * 新增 兑换码活动
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2021/12/23 20:18
     */
    BaseResponse<Object> add(LanActivityReq req);

    /**
     * 删除 兑换码活动
     * @author ErKang
     * @param id
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2021/12/23 20:18
     */
    BaseResponse<Object> delete(String id);

    /**
     * 更新 兑换码活动
     * @author ErKang
     * @param req
     * @return com.cloud.lan.entity.base.BaseResponse<java.lang.Object>
     * 2021/12/23 20:18
     */
    BaseResponse<Object> update(LanActivityReq req);

    /**
     * 调整活动兑换券
     * @author ErKang
     * @return void
     * 2022/1/6 01:11
     */
    void adjustActivity();
}
